import request from '@/utils/request'
export function pdf(data) {
  return request({
    url: '/pdf.xinjiapo',
    method: 'post',
    responseType: 'blob',
    data
  })
}
export function myapp(data) {
  return request({
    url: '/member/app',
    method: 'post',
    data
  })
}
// 支付宝认证
export function aliPayCert(data) {
  return request({
    url: '/member/aliPayCert',
    method: 'post',
    data
  })
}
// oss 获取token
export function aliOssToken(data) {
  return request({
    url: '/member/oss',
    method: 'post',
    data
  })
}

export function memberCert(data) {
  return request({
    url: '/member/cert',
    method: 'post',
    data
  })
}
// 公司认证
export function companyCert(data) {
  return request({
    url: '/member/companyCert',
    method: 'post',
    data
  })
}

export function memberCertInit(data) {
  return request({
    url: '/member/certInit',
    method: 'post',
    data
  })
}

export function certQrCode(data) {
  return request({
    url: '/member/code',
    method: 'post',
    data
  })
}
